@font-face {
  font-family: 'Droid Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Droid Sans'), local('DroidSans'), url(DroidSans.woff) format('woff');
}

html, body {
  margin: 0;
  height: 100%;
}

body ::-webkit-scrollbar {
  height: 16px;
  overflow: visible;
  width: 16px;
}
body ::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, .1);
  background-clip: padding-box;
  border: solid transparent;
  min-height: 28px;
  padding: 100px 0 0;
  box-shadow: inset 1px 1px 0 rgba(0,0,0,.1),inset 0 -1px 0 rgba(0,0,0,.07);
  border-width: 1px 1px 1px 6px;
}
body ::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.5);
}
body ::-webkit-scrollbar-button {
  height: 0;
  width: 0;
}
::-webkit-scrollbar-track {
  background-clip: padding-box;
  border: solid transparent;
  border-width: 0 0 0 4px;
}
body ::-webkit-scrollbar-corner {
  background: transparent;
}

body {
  padding: 0 15px 15px 15px;
  overflow: hidden;
  background: url(../img/google_drive_bg.png) no-repeat center center,
              -webkit-linear-gradient(bottom, #eee, rgba(255,255,255,0));
  background-size: 270px 215px, 100%;
  font-family: 'Droid Sans', sans-serif;
}

body.dropping > #main {
  -webkit-filter: blur(2px);
}

#dropper {
  visibility: hidden;
}
.dropping #dropper {
  visibility: visible;
  display: -webkit-flex;
  opacity: 1;
  pointer-events: all;
}

ul {
  margin: 0;
  height: 525px;
  overflow: auto;
}

li {
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 5px;
  margin-bottom: 3px;
  background: -webkit-linear-gradient(right, #eee, rgba(255,255,255,0), #eee);
  color: #666666;
}

#log {
  display: block;
}

#dropper {
  pointer-events: none;
  opacity: 0;
  background: rgba(255,255,255,0.5);
  position: absolute;
  z-index: 100;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  box-sizing: border-box;
  -webkit-align-items: center;
  -webkit-justify-content: center;
  -webkit-transition: opacity 0.1s ease-in-out;
}

.dropzone {
  padding: 15px 50px;
  border-radius: 10px;
  border: 10px dashed #ccc;
}

.dropzone img {
  width: 300px;
  height: 300px;
  opacity: 0.3;
}

#main > nav {
  padding-top: 15px;
  margin-bottom: 10px;
  -webkit-app-region: drag;
}

#main > nav button {
  -webkit-app-region: no-drag;
} 

nav > h2 {
  display: inline-block;
  vertical-align: middle;
  margin-right: 15px;
}

nav:hover #close-button {
  opacity: 1;
}

#close-button {
  float: right;
  padding: 0 5px 2px 5px;
  font-weight: bold;
  opacity: 0;
  -webkit-transition: all 0.3s ease-in-out;
}

.uploading progress {
  visibility: visible;
}

progress {
  visibility: hidden;
  width: 100%;
}

.date {
  float: right;
}
